﻿<?xml version="1.0" encoding="utf-8"?>
<xs:schema xmlns:tns="http://schemas.datacontract.org/2004/07/CPPEI.Coolzon.Data" elementFormDefault="qualified" targetNamespace="http://schemas.datacontract.org/2004/07/CPPEI.Coolzon.Data" xmlns:xs="http://www.w3.org/2001/XMLSchema">
  <xs:complexType name="SyncSchedule">
    <xs:sequence>
      <xs:element minOccurs="0" name="Files" nillable="true" type="tns:ArrayOfSyncFile" />
      <xs:element minOccurs="0" name="IsNeedSync" type="xs:boolean" />
      <xs:element minOccurs="0" name="LastestVersion" nillable="true" type="xs:string" />
    </xs:sequence>
  </xs:complexType>
  <xs:element name="SyncSchedule" nillable="true" type="tns:SyncSchedule" />
  <xs:complexType name="ArrayOfSyncFile">
    <xs:sequence>
      <xs:element minOccurs="0" maxOccurs="unbounded" name="SyncFile" nillable="true" type="tns:SyncFile" />
    </xs:sequence>
  </xs:complexType>
  <xs:element name="ArrayOfSyncFile" nillable="true" type="tns:ArrayOfSyncFile" />
  <xs:complexType name="SyncFile">
    <xs:sequence>
      <xs:element minOccurs="0" name="MD5" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="Name" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="Size" type="xs:long" />
    </xs:sequence>
  </xs:complexType>
  <xs:element name="SyncFile" nillable="true" type="tns:SyncFile" />
  <xs:complexType name="SyncResult">
    <xs:sequence>
      <xs:element minOccurs="0" name="Data" nillable="true" type="xs:base64Binary" />
      <xs:element minOccurs="0" name="FileName" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="Message" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="Offset" type="xs:long" />
      <xs:element minOccurs="0" name="Success" type="xs:boolean" />
    </xs:sequence>
  </xs:complexType>
  <xs:element name="SyncResult" nillable="true" type="tns:SyncResult" />
</xs:schema>